package com.danbay.cloud.deviceaccess.api.dto.collector;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yangyanchen on 2018/1/9
 *         Copyright © 2016 －2017 旦倍科技
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WiredMeter {

    /**
     * 0x00~0x01 645-1997 电表
     * 0x02      645-2007 电表
     */
    private Integer type;

    /**
     * 表号
     */
    private String addr;

    /**
     * 0x01 MBUS
     * 0x02 RS485
     */
    private Integer port;
}
